0cb3465db163226492d21e1dd3423514b49be811,testsAT/src/test/java/com/stratio/cassandra/lucene/testsAT/udt/CheckNonFrozenUDTAT.java,CheckNonFrozenUDTAT,testNotFrozenUDTList,#,65

Before Change



    @Test
    public void testNotFrozenUDTList() {
        CassandraUtils utils = CassandraUtils.builder("testNotFrozenUDTList")
                                             .withUDT("address_udt", "city", "text")
                                             .withUDT("address_udt", "postcode", "int")
                                             .withColumn("login", "text")
                                             .withColumn("address", "list<address_udt>")
                                             .withPartitionKey("login")
                                             .build()
                                             .createKeyspace()
                                             .createUDTs();
        test(utils, "Non-frozen collections are not allowed inside collections: list<address_udt>");
    }

    @Test

After Change


                      .withPartitionKey("login")
                      .build()
                      .createKeyspace()
                      .createUDTs()
                      .createTable(InvalidQueryException.class,
                                   "Non-frozen collections are not allowed inside collections: list<address_udt>")
                      .dropKeyspace();
    }

    @Test